#include "eveCommon.h"
#include "eveTimerMngr.h"
Singleton_Source(eve::TimerMngr);
namespace eve
{

	DWORD DeltaTimer::GetElapsed() const
	{
		if( m_dwStartTime != 0 )
			return (TimerMngr::GetSingleton()->GetCurMSTime() - m_dwStartTime);
		return 0;
	}

	void DeltaTimer::Start()
	{
		m_dwStartTime = TimerMngr::GetSingleton()->GetCurMSTime();
	}



}